﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MudConfigWizard.IR
{
    public class EditableMudConfig
    {
        private List<EditableMudConfigEntry> _ServiceEntries = new List<EditableMudConfigEntry>();

        public EditableMudConfigEntry[] ServiceEntries
        {
            get
            {
                lock (_ServiceEntries)
                {
                    return _ServiceEntries.ToArray();
                }
            }
            set
            {
                lock (_ServiceEntries)
                {
                    _ServiceEntries.Clear();
                    _ServiceEntries.AddRange(value);
                }                
            }
        }
    }
}
